const browserify = require('browserify');
const fs = require('fs');
browserify(['./es6_2_es5/src'])
.transform('babelify', { presets: ['@babel/preset-env'] })
.bundle()
.pipe(fs.createWriteStream('./es6_2_es5/output/demo.js'))